package cn.kgc.mapper;    /*
 *@author wangchangsheng
 *@Date 2023/4/27
 */

import cn.kgc.bean.pojo.EpDepartment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EpDepartmentMapper {

    /*
     *@author wangchangsheng
     *@Date 2023/4/27
     * 部门录入与概况(分页查询)
     */
    List<EpDepartment> getAllInfoEpDepartment();
    /*
     *@author wangchangsheng
     *@Date 2023/5/10
     * 部门录入与概况(动态获取部门名称)
     */
    List<String> getEpDepartmentDepName();

    /*
     *@author wangchangsheng
     *@Date 2023/5/10
     * 部门录入与概况(动态获取部门ID)
     */
    EpDepartment getIdEpDepartment();
    /*
     *@author wangchangsheng
     *@Date 2023/4/27
     * 部门录入与概况(部门录入)
     */
    int addEpDepartment(EpDepartment epDepartment);

    /*
     *@author wangchangsheng
     *@Date 2023/4/28
     * 部门录入与概况(修改信息)
     */
    int updateEpDepartment(EpDepartment epDepartment);


    /*
     *@author wangchangsheng
     *@Date 2023/4/28
     * 部门录入与概况(部门删除)
     */
    int delEpDepartment(@Param("id") long id);
}
